package com.navinfo.routeplan.request

import com.navinfo.routeplan.entity.GetNaviDataResponse
import com.navinfo.routeplan.entity.PostNaviDataRequest
import com.navinfo.routeplan.entity.PostNaviDataResponse
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST

interface IcroadRequestService {
    @GET("/icroad/navi/setting")
    fun getNavData(): Call<GetNaviDataResponse>
    @POST("/icroad/navi/setting")
    fun postNavData(@Body data: PostNaviDataRequest): Call<PostNaviDataResponse>
}